<<<<<<< .mine
var app = getApp();
Page({
  data: {},
  onLoad: function(e) {
    var that = this;
    var openid = wx.getStorageSync("openid");
    wx.request({
      url: 'https://www.mamingwang.cn/api/index/reson',
      data: {
        openid: openid
      },
      method: "post",
      success(res) {
        that.setData({
          message: res.data.data,
          zid: e.zid ? e.zid : ""
        })
      }
    })
  },
  onUnload: function() {
    if (this.data.zid) {
      wx.redirectTo({
        url: '/pages/yemian/shangquan/hangQing/xiangQing/xiangQing?zid=' + this.data.zid,
      })
    } else {
      wx.switchTab({
        url: '/pages/yemian/myID/myID',
      })
    }
  }
})
=======
































>>>>>>> .theirs
